﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A09 RID: 2569
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LACEKNKGBLD : IMessage<LACEKNKGBLD>, IMessage, IEquatable<LACEKNKGBLD>, IDeepCloneable<LACEKNKGBLD>, IBufferMessage
	{
		// Token: 0x17002087 RID: 8327
		// (get) Token: 0x0600733D RID: 29501 RVA: 0x0013452C File Offset: 0x0013272C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LACEKNKGBLD> Parser
		{
			get
			{
				return LACEKNKGBLD._parser;
			}
		}

		// Token: 0x17002088 RID: 8328
		// (get) Token: 0x0600733E RID: 29502 RVA: 0x00134533 File Offset: 0x00132733
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LACEKNKGBLDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002089 RID: 8329
		// (get) Token: 0x0600733F RID: 29503 RVA: 0x00134545 File Offset: 0x00132745
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LACEKNKGBLD.Descriptor;
			}
		}

		// Token: 0x06007340 RID: 29504 RVA: 0x0013454C File Offset: 0x0013274C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LACEKNKGBLD()
		{
		}

		// Token: 0x06007341 RID: 29505 RVA: 0x00134554 File Offset: 0x00132754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LACEKNKGBLD(LACEKNKGBLD other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007342 RID: 29506 RVA: 0x00134579 File Offset: 0x00132779
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LACEKNKGBLD Clone()
		{
			return new LACEKNKGBLD(this);
		}

		// Token: 0x1700208A RID: 8330
		// (get) Token: 0x06007343 RID: 29507 RVA: 0x00134581 File Offset: 0x00132781
		// (set) Token: 0x06007344 RID: 29508 RVA: 0x00134589 File Offset: 0x00132789
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x06007345 RID: 29509 RVA: 0x00134592 File Offset: 0x00132792
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LACEKNKGBLD);
		}

		// Token: 0x06007346 RID: 29510 RVA: 0x001345A0 File Offset: 0x001327A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LACEKNKGBLD other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007347 RID: 29511 RVA: 0x001345D0 File Offset: 0x001327D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007348 RID: 29512 RVA: 0x0013460F File Offset: 0x0013280F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007349 RID: 29513 RVA: 0x00134617 File Offset: 0x00132817
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600734A RID: 29514 RVA: 0x00134620 File Offset: 0x00132820
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600734B RID: 29515 RVA: 0x00134654 File Offset: 0x00132854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600734C RID: 29516 RVA: 0x00134692 File Offset: 0x00132892
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LACEKNKGBLD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600734D RID: 29517 RVA: 0x001346C3 File Offset: 0x001328C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600734E RID: 29518 RVA: 0x001346CC File Offset: 0x001328CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002C02 RID: 11266
		private static readonly MessageParser<LACEKNKGBLD> _parser = new MessageParser<LACEKNKGBLD>(() => new LACEKNKGBLD());

		// Token: 0x04002C03 RID: 11267
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002C04 RID: 11268
		public const int ChallengeIdFieldNumber = 13;

		// Token: 0x04002C05 RID: 11269
		private uint challengeId_;
	}
}
